<?php include(VIEWSPATH.'/common/header.php') ?>
<style>
	table td{
		text-align:left;
	}
</style>
<div style="vertical-align:top;text-align:left;padding-left:30px;padding-top:30px;">
<?php echo validation_errors('<p class="error">'); ?>
<form method="post" action="<?php echo base_url('/user/regist')?>">
<table align='center' width="100%">
	<tr>
		<td width="120" ><?php echo lang('user_name')?></td>
		<td><input type="text" maxlength="20" id="txt_username" name="txt_username" value="<?php echo isset ($user_name) ? $user_name :'' ?>"></input> </td>
	</tr>
	<tr>
		<td><?php echo lang('password')?></td>
		<td><input type="password" maxlength="20" id="txt_password" name="txt_password"></input> </td>
	</tr>
	<tr>
		<td>Email</td>
		<td><input type="text" maxlength="20" id="txt_email" name="txt_email" value="<?php   echo isset ($email) ? $email :'' ?>"></input> </td>
	</tr>
	<tr>
		<td></td>
		<td  >
			<?php echo $cap_img ?><br>
  			<input type="text" id="captcha" name="captcha" value="" />
		</td>
	</tr>
	<tr>
		<td></td>
		<td align='center'>
			<input type="submit" value="Đăng Kí" id="btn_login"></input>
		</td>
	</tr>
</table>
</form>
</div>
<?php include(VIEWSPATH.'/common/footer.php') ?>